.center-block {
  width: calc(100% - 2rem - 3.16rem);
  height: 100%;
  display: flex;
  justify-content: center;
  position: relative;
}

.right-block {
  width: 3.16rem;
  height: 100%;
  background-color: #060F1E;
  position: relative;
}

/* 中间块 */

.center-btns {
  margin-top: .1rem;
  display: flex;
  border-radius: .06rem;
  background-color: #405568;
  position: absolute;
  padding: .05rem;
}

.center-btns-item {
  font-size: .12rem;
  color: #E3EDFB;

  padding: .06rem .25rem;
  border-radius: .08rem;
  cursor: pointer;
}

.center-btns-item.active,
.center-btns-item:hover {
  background-color: #112239;
}

.talk-question {
  position: absolute;
  left: .5rem;
  bottom: .2rem;
  display: flex;
  width: calc(100% - 1rem);
}

.talk-question .layui-input-wrap {
  width: 100%;
}

.talk-question input {
  width: 100%;
  background-color: #384254;
  color: #fff;
  border: none;
}

.talk-question .layui-icon {
  color: #fff;
}

.talk-content {
  width: 100%;
}

.tip-block {
  display: flex;
  color: #fff;
  background-color: rgba(0, 0, 0, .3);
  margin: 0.7rem 0.5rem .1rem 0.5rem;
  border-radius: .04rem;
  align-items: center;
  padding: 0.2rem;
}

.example-block {
  display: flex;
}

.example-item {
  width: 2.8rem;
  height: 1.3rem;
  background-color: #2E3A50;
  border-radius: .08rem;
  cursor: pointer;
  margin-right: .5rem;
}

.example-title {
  padding: .1rem .1rem .05rem .1rem;
}

.example-title img {
  width: .17rem;
  height: .17rem;
}

.example-content {
  cursor: pointer;
  color: #fff;
  padding: .1rem;
  border-radius: .04rem;
  display: inline-block;
  font-size: .16rem;
}

.example-item:hover {
  background-color: #3F567F;
}

#answer-llm,
#answer-knowledgebase,
#answer-file {
  margin: 0.7rem 0.5rem .1rem 0.5rem;
  color: #fff;
  height: calc(100% - 1.9rem);
  overflow: auto;
  font-size: .18rem;
}

.answer-card {
  /* background-color: #384254; */
  background-color: rgba(0, 0, 0, .3);
  border-radius: .04rem;
  padding: 0.2rem;
  display: flex;
  line-height: 2;
}

/* end */

/* 右边块 */
.right-btns {
  margin: .1rem .1rem 0 .1rem;
  width: calc(100% - .2rem);
}

.right-btns-item {
  width: 46%;
  color: #fff;
  padding: 0.08rem 0;
  border-radius: .08rem;
  border: .01rem solid #7383A0;
  cursor: pointer;
  text-align: center;
  display: inline-block;
  margin: 2% 1%;
}

.right-btns-item img {
  width: .25rem;
  height: .25rem;
  margin: 0 .2rem 0 .1rem;
}

.right-btns-item:hover,
.right-btns-item.active {
  /* background-color: #384254; */
  border: .01rem solid #217EFD;
}

.right-cards {
  margin: .1rem .1rem 0 .1rem;
  width: calc(100% - .2rem);
  overflow: auto;
  height: 54%;
  position: relative;
}

/* .right-cards-item {
  position: relative;
  width: 46%;
  height: 1rem;
  color: #fff;
  border-radius: .08rem;
  border: .01rem solid #A5CEFF;
  background: linear-gradient(180deg, rgba(18, 42, 77, 0.6) 0%, rgba(17, 22, 32, 0.6) 100%);
  cursor: pointer;
  float: left;
  margin: 2% 1%;
} */

.right-cards-item {
  position: absolute;
  top: 0;
  left: 0;
  color: #fff;
  border-radius: .08rem;
  border: .01rem solid rgba(79, 129, 149, 0.3);
  background: linear-gradient(180deg, rgba(38, 89, 164, 0.5) 0%, rgba(8, 28, 68, 0.4) 100%);
  cursor: pointer;
}

.right-cards-item:hover {
  background: linear-gradient(180deg, rgba(38, 89, 164, 0.9) 0%, rgba(8, 28, 68, 0.8) 100%);
}

.right-cards-item-content {
  font-size: .12rem;
  color: rgba(255, 255, 255, 0.8);
  /* padding: .1rem .2rem .1rem .1rem; */
  /* height: 0.4rem; */
}

.right-cards-item-btn {
  width: 100%;
  position: absolute;
  bottom: .05rem;
  display: flex;
  justify-content: space-around;
  font-size: .12rem;
}

.right-cards-item-btn img {
  width: .1rem;
  height: .1rem;
}

.layui-form-select .layui-input,
.layui-input-wrap .layui-input[type="number"] {
  background-color: #060F1E;
  border-radius: .08rem;
  border: .01rem solid #7383A0;
  color: #fff;
}

.layui-input-wrap .layui-input-number .layui-icon-up {
  border-bottom: 1px solid #7383A0;
  color: #fff;
}

.layui-input-wrap .layui-input-number .layui-icon-down {
  color: #fff;
}

.layui-input-wrap .layui-input-suffix.layui-input-split {
  border-color: #7383A0;
}

.layui-form-selected dl {
  z-index: 99999999999;
}

.edit-btn {
  position: absolute;
  right: .05rem;
  bottom: 0rem;
  cursor: pointer;
}

.edit-btn i:hover {
  opacity: .7;
}

/* end */

.answer-card ol li {
  margin-left: 0.2rem;
  list-style: decimal;
}

.answer-card ul li {
  margin-left: 0.2rem;
  list-style: disc;
}

.answer-card a {
  color: rgb(1, 170, 237);
}

.answer-card h1,
h2,
h3,
h4 {
  font-size: .3rem;
  padding: 0.2rem 0 0.2rem;
  font-family: "Source Sans Pro", sans-serif;
}

#flow-question .layui-flow-more {
  display: none;
}

.layui-collapse {
  border: 1px solid rgba(138, 138, 138, 0.5);
  border-radius: 0.06rem;
  margin-bottom: 0.3rem;
}

.layui-colla-content,
.layui-colla-item {
  border: none;
}

.layui-colla-title {
  color: #fff;
  background-color: transparent;
}

.layui-colla-icon {
  left: auto;
}

.talk-question .layui-input-affix .layui-icon:hover {
  color: #1e9fff;
}

.copy-icon {
  float: right;
  cursor: pointer;
}

.copy-icon:hover {
  opacity: .7;
}

.icon-loading {
  width: .5rem;
  height: .5rem;
}